package ua.edu.test.builder;

import android.util.Log;
import ua.edu.test.AtributesBean;
import ua.edu.test.banks.PrivatBank;

/**
 * Created by Max on 17.07.2014.
 */
public class BankSelector {

	private static final String LOG_TAG = BankSelector.class.getName();

	public void selectBank (String bankName){
		Log.d(LOG_TAG, "selectBank " + bankName);
		if (bankName.equals("ПриватБанк")){
			AtributesBean.getInstance().setAbstractOperation(new PrivatBank());
		}
	}
}
